package com.citymanage.demo.service.person;

import com.citymanage.demo.mapper.person.PersonMapper;
import com.citymanage.demo.po.person.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SelectPersonal {
    @Autowired
    private PersonMapper personMapper;
    public List<Person> find(Integer key){
        return personMapper.find(key);
    }
}
